package com.jh3502.vivo.function.dialog;

import android.content.Context;

import com.jh3502.vivo.base.BaseModel;
import com.jh3502.vivo.net.ApiConstants;
import com.jh3502.vivo.utils.UploadHelper;

import java.io.File;
import java.util.List;

/**
 * @author harisucici
 * @date 2017/6/19
 */

public class PhotoChooseModel extends BaseModel {

    public PhotoChooseModel(Context context) {
        super(context);
    }

    public void upload(List<File> files, okhttp3.Callback callback) {
        UploadHelper.uploadImage(files, ApiConstants.getUploadImageUrl(), callback);
    }
}
